/*
 * @Descripttion: 短租
 * @version: 1.0
 * @Author: 狸猫
 * @Date: 2024-04-29 16:44:23
 * @LastEditors: 狸猫
 * @LastEditTime: 2024-04-29 17:59:50
 */
import request from "@/utils/request";

// 查询短租订单列表
export function listOrder(query) {
  return request({
    url: '/enterprise/order/order/apartment/list',
    method: 'get',
    params: query,
  })
}

// 查询短租订单详情
export function orderInfo(orderid) {
  return request({
    url: '/enterprise/order/order/apartment/'+orderid,
    method: 'get',
  })
}

// 查询短租订单详情
export function expensesInfo(orderid) {
  return request({
    url: '/enterprise/order/expenses/list?orderId='+orderid,
    method: 'get',
  })
}
